<template>
  <div class="">重定向页面</div>
</template>

<script setup>
import { onMounted } from "vue";
import { handleLoginCallback } from "../../config/oidc";
import { ElMessage } from "element-plus";

onMounted(async () => {
  try {
    await handleLoginCallback();
  } catch (err) {
    ElMessage.error(`OIDC 登录异常`);
  }
});
</script>

<style lang="scss" scoped></style>
